package com.masiyi.service;

import com.masiyi.spring.ApplicationContext;

/**
 * @Description 测试类
 * @Author masiyi
 * @Date 2023/1/14
 **/
public class Test {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ApplicationContext(MySpringConfig.class);
        OrderInterface orderInterface = (OrderInterface) applicationContext.getBean("OrderService");
        orderInterface.test();

    }
}
